package cn.lanqiao.demo.dao;

import cn.lanqiao.demo.entity.Check;
import cn.lanqiao.demo.vo.StudentVaccineVo;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CheckDao {

    //查询已接种人数
    @Select("select count(1) from vaccine where inoculated in(1,2)")
    public int getInoculatedAll();


    @Select("select * from `check`")
    public Check list();
}
